#ifndef __optshold_h__
#define __optshold_h__

/* Forward Declarations */

struct ENUMDESC;

/* header files for imported files */
#include "document.h"

/* header files for imported files */
#include "object.h"

#ifndef __IHTMLFontNamesCollection_FWD_DEFINED__
#define __IHTMLFontNamesCollection_FWD_DEFINED__
typedef interface IHTMLFontNamesCollection IHTMLFontNamesCollection;
#endif     /* __IHTMLFontNamesCollection_FWD_DEFINED__ */

#ifndef __IHTMLFontSizesCollection_FWD_DEFINED__
#define __IHTMLFontSizesCollection_FWD_DEFINED__
typedef interface IHTMLFontSizesCollection IHTMLFontSizesCollection;
#endif     /* __IHTMLFontSizesCollection_FWD_DEFINED__ */

#ifndef __IHTMLOptionsHolder_FWD_DEFINED__
#define __IHTMLOptionsHolder_FWD_DEFINED__
typedef interface IHTMLOptionsHolder IHTMLOptionsHolder;
#endif     /* __IHTMLOptionsHolder_FWD_DEFINED__ */

#ifndef __IHTMLFontNamesCollection_INTERFACE_DEFINED__

#define __IHTMLFontNamesCollection_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLFontNamesCollection;


MIDL_INTERFACE("3050f376-98b5-11cf-bb82-00aa00bdce0b")
IHTMLFontNamesCollection : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE get_length(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get__newEnum(
         /* [out] */ IUnknown* * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE item(
            /* [in] */ long index,/* [out] */ BSTR* pBstr) = 0;

};

#endif     /* __IHTMLFontNamesCollection_INTERFACE_DEFINED__ */


#ifndef __IHTMLFontSizesCollection_INTERFACE_DEFINED__

#define __IHTMLFontSizesCollection_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLFontSizesCollection;


MIDL_INTERFACE("3050f377-98b5-11cf-bb82-00aa00bdce0b")
IHTMLFontSizesCollection : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE get_length(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get__newEnum(
         /* [out] */ IUnknown* * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_forFont(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE item(
            /* [in] */ long index,/* [out] */ long* plSize) = 0;

};

#endif     /* __IHTMLFontSizesCollection_INTERFACE_DEFINED__ */


#ifndef __IHTMLOptionsHolder_INTERFACE_DEFINED__

#define __IHTMLOptionsHolder_INTERFACE_DEFINED__

EXTERN_C const IID IID_IHTMLOptionsHolder;


MIDL_INTERFACE("3050f378-98b5-11cf-bb82-00aa00bdce0b")
IHTMLOptionsHolder : public IDispatch
{
public:
    virtual HRESULT STDMETHODCALLTYPE get_document(
         /* [out] */ IHTMLDocument2* * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_fonts(
         /* [out] */ IHTMLFontNamesCollection* * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_execArg(
         /* [in] */ VARIANT v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_execArg(
         /* [out] */ VARIANT * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_errorLine(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_errorLine(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_errorCharacter(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_errorCharacter(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_errorCode(
         /* [in] */ long v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_errorCode(
         /* [out] */ long * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_errorMessage(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_errorMessage(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_errorDebug(
         /* [in] */ VARIANT_BOOL v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_errorDebug(
         /* [out] */ VARIANT_BOOL * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_unsecuredWindowOfDocument(
         /* [out] */ IHTMLWindow2* * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_findText(
         /* [in] */ BSTR v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_findText(
         /* [out] */ BSTR * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE put_anythingAfterFrameset(
         /* [in] */ VARIANT_BOOL v) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_anythingAfterFrameset(
         /* [out] */ VARIANT_BOOL * p) = 0;

    virtual HRESULT STDMETHODCALLTYPE sizes(
            /* [in] */ BSTR fontName,/* [out] */ IHTMLFontSizesCollection** pSizesCollection) = 0;

    virtual HRESULT STDMETHODCALLTYPE openfiledlg(
            /* [in] */ VARIANT initFile,/* [in] */ VARIANT initDir,/* [in] */ VARIANT filter,/* [in] */ VARIANT title,/* [out] */ BSTR* pathName) = 0;

    virtual HRESULT STDMETHODCALLTYPE savefiledlg(
            /* [in] */ VARIANT initFile,/* [in] */ VARIANT initDir,/* [in] */ VARIANT filter,/* [in] */ VARIANT title,/* [out] */ BSTR* pathName) = 0;

    virtual HRESULT STDMETHODCALLTYPE choosecolordlg(
            /* [in] */ VARIANT initColor,/* [out] */ long* rgbColor) = 0;

    virtual HRESULT STDMETHODCALLTYPE showSecurityInfo(
            ) = 0;

    virtual HRESULT STDMETHODCALLTYPE isApartmentModel(
            /* [in] */ IHTMLObjectElement* object,/* [out] */ VARIANT_BOOL* fApartment) = 0;

    virtual HRESULT STDMETHODCALLTYPE getCharset(
            /* [in] */ BSTR fontName,/* [out] */ long* charset) = 0;

    virtual HRESULT STDMETHODCALLTYPE get_secureConnectionInfo(
         /* [out] */ BSTR * p) = 0;

};

#endif     /* __IHTMLOptionsHolder_INTERFACE_DEFINED__ */


#ifndef _CFontNameOptions_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCFontNameOptionslength;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCFontNameOptions_newEnum;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCFontNameOptionsitem;

#endif

#ifndef _CFontSizeOptions_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCFontSizeOptionslength;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCFontSizeOptions_newEnum;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCFontSizeOptionsforFont;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCFontSizeOptionsitem;

#endif

#ifndef _COptionsHolder_PROPDESCS_
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOptionsHolderdocument;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOptionsHolderfonts;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOptionsHolderexecArg;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCOptionsHoldererrorLine;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCOptionsHoldererrorCharacter;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCOptionsHoldererrorCode;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCOptionsHoldererrorMessage;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCOptionsHoldererrorDebug;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOptionsHolderunsecuredWindowOfDocument;
EXTERN_C const PROPERTYDESC_BASIC s_propdescCOptionsHolderfindText;
EXTERN_C const PROPERTYDESC_NUMPROP s_propdescCOptionsHolderanythingAfterFrameset;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOptionsHoldersizes;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOptionsHolderopenfiledlg;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOptionsHoldersavefiledlg;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOptionsHolderchoosecolordlg;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOptionsHoldershowSecurityInfo;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOptionsHolderisApartmentModel;
EXTERN_C const PROPERTYDESC_METHOD s_methdescCOptionsHoldergetCharset;
EXTERN_C const PROPERTYDESC_BASIC_ABSTRACT s_propdescCOptionsHoldersecureConnectionInfo;

#endif


#endif /*__optshold_h__*/

